package com.imooc.order.controller;

import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Jiayuan
 * @version 1.0
 * @description:
 * @time 10/4/2018 3:32 PM
 */

@RestController
@RequestMapping("/env")
@RefreshScope
public class EnvController {

/*    @Value("${env}")
    private String env;

    @GetMapping("/print")
    public String print(){
        return env;
    }*/
}
